<?php 
session_start();
include("../_init_.php");
?>
 <HTML>
<HEAD>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" rev="stylesheet" href="css/outlook.css" type="text/css" media="all" />
<script src="js/left_bar.js"></script>
</HEAD>
<BODY style="cursor:default;overflow:hidden" text=#000000 leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onResize="location.reload();">
<div id="mainmenu">
  
  <div class="menu">
    <ul>
	<?php $typeid=intval($_GET["typeid"]);?>
	<?php $i=0;?>
	
	<?php
	$i=$i+1;
	 if($typeid==$i or $typeid==""){?>
      <h4 onClick="expandIt(0)"><a href="home.php?typeid=<?php echo $typeid;?>" target="main">系統管理</a></h4>
      <div id="sub_menu0">	 
		<li><a href="admin_manage.php" target="main">管理員管理</a></li>
		<li><a href="admin_manage.php?action=new" target="main">新增管理員</a></li>	
		<li><a href="admin_parameter_config.php" target="main">參數配置</a></li>	
		<li><a href="admin_image_clean.php" target="main">圖片清理</a></li>	
	  </div>
	  <?php }?>
	  
	  
	  	<?php
	   $i=$i+1;
	   if($typeid==$i){?>
      <h4 onClick="expandIt(0)"><a href="home.php?typeid=<?php echo $typeid;?>" target="main">首頁管理</a></h4>
      <div id="sub_menu0">
	  	<li><a href="admin_index_summary.php" target="main">首頁簡介</a></li>
	  	<li><a href="admin_index_rent_list.php" target="main">修改首頁最新房屋</a></li>
	  	<li><a href="admin_index_ad.php" target="main">修改首頁廣告</a></li>
	  </div>
	   <?php }?>
	
	<?php
	   $i=$i+1;
	   if($typeid==$i){?>
      <h4 onClick="expandIt(0)"><a href="home.php?typeid=<?php echo $typeid;?>" target="main">公司介紹</a></h4>
      <div id="sub_menu0">  
	  	<li><a href="admin_aboutus.php" target="main">公司介紹</a></li>
	  </div>
	   <?php }?>
	   
		<?php
	   $i=$i+1;
	   if($typeid==$i){?>
      <h4 onClick="expandIt(0)"><a href="home.php?typeid=<?php echo $typeid;?>" target="main">聯絡我們</a></h4>
      <div id="sub_menu0">  
	  	<li><a href="admin_contactus_list.php" target="main">查看聯絡我們</a></li>
	  	<li><a href="admin_contactus.php" target="main">聯絡我們頭部</a></li>
	  </div>
	   <?php }?>
	   
	  	<?php
	   $i=$i+1;
	   if($typeid==$i){?>
      <h4 onClick="expandIt(0)"><a href="home.php?typeid=<?php echo $typeid;?>" target="main">最新消息管理</a></h4>
      <div id="sub_menu0">
	  	<li><a href="admin_news.php" target="main">最新消息管理</a></li>
		<li><a href="admin_news.php?action=new" target="main">新增最新消息</a></li>
	  </div>
	   <?php }?>
	   
	  	<?php
	   $i=$i+1;
	   if($typeid==$i){?>
      <h4 onClick="expandIt(0)"><a href="home.php?typeid=<?php echo $typeid;?>" target="main">房源管理</a></h4>
      <div id="sub_menu0">
	  	<li><a href="rent_list.php" target="main">房源管理</a></li>
		<li><a href="rent_info1.php?action=new" target="main">新增房源</a></li>
		<li><a href="admin_furniture.php" target="main">家具選項管理</a></li>
		<li><a href="admin_furniture.php?action=new" target="main">新增家具選項</a></li>
		<li><a href="admin_equipment.php" target="main">家電選項管理</a></li>
		<li><a href="admin_equipment.php?action=new" target="main">新增家電選項</a></li>
		<li><a href="rent_type.php" target="main">房屋類型管理</a></li>
		<li><a href="rent_type.php?action=new" target="main">新增房屋類型</a></li>
	  </div>
	   <?php }?>
	  
	  
	  
	  
	  
	  
    </ul>
  </div>



<div class="menu">
    <ul>
      <h4>說明</h4>
      <div class="menucont">版權所有：<br />
      Copyright &copy;2010 </div>
    </ul>
  </div>
</div>
</BODY>